package org.monitor.servlet.impl;

import javax.servlet.annotation.WebServlet;

import org.monitor.controller.applog.AppLogController;
import org.monitor.controller.applog.AppMonitorController;
import org.monitor.controller.applog.AppServerController;
import org.monitor.controller.applog.AppSettingController;
import org.monitor.servlet.base.BaseHttpServlet;
import org.monitor.servlet.router.Routers;

/**
 * app端日志记录
 * @author zhaojjd
 *
 */
@WebServlet(name="applog", value="/applog/*")
public class AppLogServlet extends BaseHttpServlet {

	private static final long serialVersionUID = 1L;

	@Override
	protected Routers initRouters() {
		Routers routers = new Routers();
		routers.add("/setting", AppSettingController.class);
		routers.add("/server", AppServerController.class);
		routers.add("/monitor", AppMonitorController.class);
		routers.add("/log", AppLogController.class);
		return routers;
	}

}
